<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/4/25
 * Time: 10:55
 */
function toTree($arr,$key_node_id,$key_parent_id='parent_id',$key_childrens='children',$treeIndex=false,&$refs = null)
{

}
function AjaxCallbackMessage($msg='',$code=true,$forwardUrl=""){
    $array = array(
        'message'=>$msg,
        'status'=>$code,
        'forwardUrl'=>$forwardUrl
    );
    return json_encode($array);
}